package com.xc.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel
public class RoleNavEntity {
    @ApiModelProperty(value = "角色导航id")
    private Integer id;
    @ApiModelProperty(value = "导航ID",required = true)
    private Integer navId;
    @ApiModelProperty(value = "角色ID",required = true)
    private Integer roleId;
    private Integer enable;
    private List<RoleNavManyEntity> list;
}
